home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / DOD-UP32.ZIP / PCBTEST.BAT < prev    next >
DOS Batch File  |  1994-07-27  |  353b  |  21 lines

  1. @echo off
  2.  
  3. copy e:\pcb\work\failure pcbfail.txt
  4. del e:\pcb\work\failure
  5. echo y|del e:\pcb\tmp\*.*
  6. if %2 == UPLOAD GOTO END
  7.  
  8. testfile %1 zip
  9. if errorlevel == 98 goto end
  10. if errorlevel == 1 goto zip
  11. goto end
  12.  
  13. :zip
  14. echo ■ Testing ZIP file integrity
  15. pkunzip -t %1 > pcbfail.txt
  16. if errorlevel == 1 goto end
  17. del pcbfail.txt
  18. goto end
  19.  
  20. :end
  21.